Copy text attributes

Hi all, 


I created a script which copies the values of attributes to current module from in-links/out-links. It is general, you can input manually which attribute to be copied. 
But i 
encountered a problem. When It has to copy the value of attributes whose type is " Text" and has attached picture, tables or docs(pdf, word), it copies only the text, without attachements.


I've read something about Ole Objects, but i dont know how to work with them yet.
Can anyone give me some hints?


Thank you!


Anamaria/ System Requirement - Thu Jan 26 08:13:50 EST 2017

Re: Copy text attributes
Mathias Mamsch - Fri Jan 27 03:17:33 EST 2017

There is a library called "copyOps.inc" inside the DOORS client. You might want to take a look at it.

Copy the attribute values using "set(objTgt."Object Text", objSrc."Object Text")" ... This will make sure, that the attribute values are the same and all OLE come with it. 

If you have DOORS images, you need to use the copyPictureObject() perm. 

Regards, Mathias